package com.web.model.abst;

/**
 * @author Kenneth
 * @version 1.0Beta
 * @createDate 2011-07-17 00:48:00
 */
public abstract class AbstractCategory {

	// table-name
	public static final String TABLE_NAME = "TW_CATEGORY";
	
	// table-columns
	public static final String COLUMN_ID = "ID";
	
	public static final String COLUMN_NAME = "NAME";
	
	public static final String COLUMN_ADDTIME = "ADDTIME";
	
	public static final String COLUMN_PID = "PID";
	
	public static final String COLUMN_DES = "DES";
	
	public static final String COLUMN_ORDER_NO = "ORDER_NO";
	
	public static final String COLUMN_STATE = "STATE";
	
	public static final String COLUMN_BGURL = "BGURL";
	
	public static final String COLUMN_TYPES = "TYPES";
	
	public static final  String COLUMN_URL = "URL";

	// model-object propertys
	private java.lang.Integer id;
	
	private java.lang.String name;
	
	private java.sql.Timestamp addtime;
	
	private java.lang.Integer pid;
	
	private java.lang.String des;
	
	private java.lang.Integer orderNo;
	
	private java.lang.Integer state;
	
	private java.lang.String bgurl;
	
	private java.lang.Integer types;
	
	private java.lang.String url;

	public java.lang.String getUrl() {
		return url;
	}

	public void setUrl(java.lang.String url) {
		this.url = url;
	}

	public AbstractCategory() {
	}

	// propertys-(getter and setter)
	public void setId(java.lang.Integer id) {
		this.id = id;
	}

	public java.lang.Integer getId() {
		return id;
	}
	
	public void setName(java.lang.String name) {
		this.name = name;
	}

	public java.lang.String getName() {
		return name;
	}
	
	public void setAddtime(java.sql.Timestamp addtime) {
		this.addtime = addtime;
	}

	public java.sql.Timestamp getAddtime() {
		return addtime;
	}
	
	public void setPid(java.lang.Integer pid) {
		this.pid = pid;
	}

	public java.lang.Integer getPid() {
		return pid;
	}
	
	public void setDes(java.lang.String des) {
		this.des = des;
	}

	public java.lang.String getDes() {
		return des;
	}
	
	public void setOrderNo(java.lang.Integer orderNo) {
		this.orderNo = orderNo;
	}

	public java.lang.Integer getOrderNo() {
		return orderNo;
	}
	
	public void setState(java.lang.Integer state) {
		this.state = state;
	}

	public java.lang.Integer getState() {
		return state;
	}
	
	public void setBgurl(java.lang.String bgurl) {
		this.bgurl = bgurl;
	}

	public java.lang.String getBgurl() {
		return bgurl;
	}
	
	public void setTypes(java.lang.Integer types) {
		this.types = types;
	}

	public java.lang.Integer getTypes() {
		return types;
	}

}
